﻿<%@ page language="C#" autoeventwireup="true" inherits="Admin_SepBill, App_Web_sepbill.aspx.fdf7a39c" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
    <link href="../css/Admin_Css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <br />
        <asp:HyperLink ID="HyperLink1" runat="server">HyperLink</asp:HyperLink>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        <asp:HyperLink ID="HyperLink2" runat="server">HyperLink</asp:HyperLink>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        <asp:HyperLink ID="HyperLink3" runat="server">HyperLink</asp:HyperLink>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;<asp:HyperLink
                            ID="sylk" runat="server">上一分单</asp:HyperLink>
                        &nbsp; &nbsp;&nbsp; 
                        <asp:HyperLink ID="lastlk" runat="server">下一分单</asp:HyperLink>
        <asp:HyperLink ID="xsfphy" runat="server">HyperLink</asp:HyperLink>
        <asp:HyperLink ID="grwphy" runat="server">HyperLink</asp:HyperLink><br />
    <div>
        <div>
            <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                <tr>
                    <td style="width: 100%">
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<div id="sepbill">
    
    <div id="sepbilltop">
        <table border="0" cellpadding="0" cellspacing="1" style="width: 780px; background-color:#666666;">
            <tr>
                <td style="width: 300px; background-position: 0% 0%; background-attachment: scroll; background-repeat: no-repeat; text-align: center;" rowspan="2">
                    <asp:Image ID="Image1" runat="server" Height="52px" Width="183px" />&nbsp;</td>
                <td style="width: 360px; text-align: center;" rowspan="2">&nbsp; &nbsp;&nbsp;
                    <asp:Image ID="Image2" runat="server" /></td>
                <td style="width: 120px; height: 30px;">&nbsp; 件数/Pieces</td>
            </tr>
            <tr>
                <td style="width: 120px; height: 30px;">&nbsp;
                                <asp:Label ID="jianshutxt" runat="server" Width="72%" CssClass="sepbillLabel"></asp:Label></td>
            </tr>
            
        </table></div>
        
     <div id="sepbillcon">
     <div id="sepbillleft">
         <table border="0" cellpadding="0" cellspacing="1" style="width: 300px; background-color:#666666;">
             <tr>
                 <td colspan="2" style="color: #ffffff; background-color: #ba07aa">
                     寄件人/Sender &nbsp;<asp:Label ID="sendtxt" runat="server" Width="45%" CssClass="sepbillLabel"></asp:Label></td>
                 <td colspan="2" style="color: #ffffff; background-color: #bd07aa">
                     电话/Phone &nbsp; <asp:Label ID="sendtel" runat="server" Width="50%" CssClass="sepbillLabel"></asp:Label></td>
             </tr>
             <tr>
                 <td style="width: 75px">
                     帐号/A/C No.</td>
                 <td colspan="3">
                 <asp:Label ID="acno" runat="server"></asp:Label></td>
             </tr>
             <tr>
                 <td style="width: 75px">
                     参考号/<span style="font-size: 10px">Ref &nbsp;No.</span></td>
                 <td colspan="3">
                 <asp:Label ID="refno" runat="server"></asp:Label></td>
             </tr>
             <tr>
                 <td style="height: 75px;" colspan="4">
                                <asp:Label ID="addrestxt" runat="server" Width="233px"  Style="word-wrap: break-word; word-break: break-all;"   CssClass="sepbillLabel"></asp:Label></td>
             </tr>
             <tr>
                 <td style="width: 75px">
                     城市/City</td>
                 <td style="width: 75px">
                 <asp:Label ID="cstxt" runat="server" Width="55px" CssClass="sepbillLabel"></asp:Label></td>
                 <td style="width: 75px">
                     州/State</td>
                 <td style="width: 75px">
                 <asp:Label ID="ztxt" runat="server" Width="55px" CssClass="sepbillLabel"></asp:Label></td>
             </tr>
             <tr>
                 <td style="width: 75px">
                     Remark</td>
                 <td style="width: 75px">
                     启运地/Origin</td>
                 <td colspan="2">
                     目的地/Dest</td>
             </tr>
             <tr>
                 <td style="width: 75px">
      <asp:Label ID="xueli" runat="server" CssClass="sepbillLabel" Width="62%"></asp:Label></td>
                 <td style="width: 75px">
                 <asp:Label ID="qytxt" runat="server" Width="55px" CssClass="sepbillLabel"></asp:Label></td>
                 <td colspan="2">
                 <asp:Label ID="mdtxt" runat="server" Width="108px" CssClass="sepbillLabel"></asp:Label></td>
             </tr>
             <tr>
                 <td style="width: 75px">
                     日期/Date</td>
                 <td style="width: 75px">
                     <asp:Label ID="postdatelb" runat="server" Text=""></asp:Label></td>
                 <td colspan="2" style="text-align: left" >
                     取件时间/<span>PU Time：<br />
                         &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                         <asp:Label ID="puttime" runat="server"></asp:Label></span></td>
             </tr>
             <tr>
                 <td style="height: 36px; vertical-align: top;" colspan="2">
                     寄件人签字/Signed by Shipper</td>
                 <td style="height: 36px; vertical-align: top;" colspan="2">
                     操作人签字/Signed by Courier</td>
             </tr>
         </table>
         
     
     </div>
     <div id="sepbillmid">
         <table border="0" cellpadding="0" cellspacing="1" style="width: 360px; background-color:#666666;">
             <tr>
                 <td style="width: 180px; color: #ffffff; background-color: #bd07aa;">
                     收件人/Receiver&nbsp;<asp:Label ID="nameaddress" runat="server" Width="81px" CssClass="sepbillLabel"></asp:Label></td>
                 <td style="width: 180px; color: #ffffff; background-color: #bd07aa;">
                     电话/Phone&nbsp;<asp:Label ID="chinatel" runat="server" Width="60%" CssClass="sepbillLabel"></asp:Label></td>
             </tr>
             <tr>
                 <td style="height: 53px;" colspan="2">
                                                        <asp:Label ID="addresstxt" runat="server" Width="343px" CssClass="sepbillLabel"></asp:Label></td>
             </tr>
         </table>
         <table border="0" cellpadding="0" cellspacing="1" style="width: 360px;background-color:#666666;">
             <tr>
                 <td colspan="4" style="color: #ffffff; background-color: #bd07aa">
                     托运货物资料/Shipment information(请向海关如实申报)</td>
             </tr>
             <tr>
                 <td style="width: 100px">
                     品名/Commodity</td>
                 <td style="width: 80px">
                     数量/Qty</td>
                 <td style="width: 80px">
                     单价/Unitvalue</td>
                 <td style="width: 100px">
                     小计/Subtotal</td>
             </tr>
             <tr>
                 <td>
              
                    <asp:Label ID="cdrtxt1" runat="server" BackColor="#EAF0E6" TabIndex="19" Width="86px" Height="17px"></asp:Label></td>
                 <td style="width: 80px">
                    <asp:Label ID="qtytxt1" runat="server" BackColor="#EAF0E6" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))"
                        onblur="lost(1)" onkeyup="value=value.replace(/[^\d.]/g,'')   " TabIndex="21"
                        Width="50px"  CssClass="sepbillLabel"></asp:Label></td>
                 <td style="width: 80px">
                    <asp:Label ID="unitxt1" runat="server" BackColor="#EAF0E6" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))"
                        onblur="lost(1)" onkeyup="value=value.replace(/[^\d.]/g,'')   " TabIndex="22"
                        Width="50px"  CssClass="sepbillLabel"></asp:Label></td>
                 <td style="width: 100px">
                    <asp:Label ID="ufctxt1" runat="server" BackColor="#EAF0E6" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))"
                        onblur="alplpr()" onkeyup="value=value.replace(/[^\d.]/g,'')   " TabIndex="23"
                        Width="50px" CssClass="sepbillLabel"></asp:Label></td>
             </tr>
             <tr>
                 <td>
                    <asp:Label ID="cdrtxt2" runat="server" BackColor="#EAF0E6" TabIndex="24" Width="86px" Height="17px"></asp:Label></td>
                 <td style="width: 80px">
                    <asp:Label ID="qtytxt2" runat="server" BackColor="#EAF0E6" InputType="varchars"
                        onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))"
                        onblur="lost(2)" onkeyup="value=value.replace(/[^\d.]/g,'')   " TabIndex="26"
                        Width="50px" CssClass="sepbillLabel"></asp:Label></td>
                 <td style="width: 80px">
                    <asp:Label ID="unitxt2" runat="server" BackColor="#EAF0E6" InputType="varchars"
                        onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))"
                        onblur="lost(2)" onkeyup="value=value.replace(/[^\d.]/g,'')   " TabIndex="27"
                        Width="50px" CssClass="sepbillLabel"></asp:Label></td>
                 <td style="width: 100px">
                    <asp:Label ID="ufctxt2" runat="server" BackColor="#EAF0E6" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))"
                        onblur="alplpr()" onkeyup="value=value.replace(/[^\d.]/g,'')   " TabIndex="28"
                        Width="50px" CssClass="sepbillLabel"></asp:Label></td>
             </tr>
             <tr>
                 <td>
                    <asp:Label ID="cdrtxt3" runat="server" BackColor="#EAF0E6" TabIndex="29" Width="86px" Height="17px"></asp:Label></td>
                 <td style="width: 80px">
                    <asp:Label ID="qtytxt3" runat="server" BackColor="#EAF0E6" InputType="varchars"
                        onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))"
                        onblur="lost(3)" onkeyup="value=value.replace(/[^\d.]/g,'')   " TabIndex="31"
                        Width="50px" CssClass="sepbillLabel"></asp:Label></td>
                 <td style="width: 80px">
                    <asp:Label ID="unitxt3" runat="server" BackColor="#EAF0E6" InputType="varchars"
                        onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))"
                        onblur="lost(3)" onkeyup="value=value.replace(/[^\d.]/g,'')   " TabIndex="32"
                        Width="50px" CssClass="sepbillLabel"></asp:Label></td>
                 <td style="width: 100px">
                    <asp:Label ID="ufctxt3" runat="server" BackColor="#EAF0E6" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))"
                        onblur="alplpr()" onkeyup="value=value.replace(/[^\d.]/g,'')   " TabIndex="33"
                        Width="50px" CssClass="sepbillLabel"></asp:Label></td>
             </tr>
             <tr>
                 <td>
                    <asp:Label ID="cdrtxt4" runat="server" BackColor="#EAF0E6" TabIndex="34" Width="86px" Height="17px"></asp:Label></td>
                 <td style="width: 80px">
                    <asp:Label ID="qtytxt4" runat="server" BackColor="#EAF0E6" InputType="varchars"
                        onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))"
                        onblur="lost(4)" onkeyup="value=value.replace(/[^\d.]/g,'')   " TabIndex="36"
                        Width="50px" CssClass="sepbillLabel"></asp:Label></td>
                 <td style="width: 80px">
                    <asp:Label ID="unitxt4" runat="server" BackColor="#EAF0E6" InputType="varchars"
                        onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))"
                        onblur="lost(4)" onkeyup="value=value.replace(/[^\d.]/g,'')   " TabIndex="37"
                        Width="50px" CssClass="sepbillLabel"></asp:Label></td>
                 <td style="width: 100px">
                    <asp:Label ID="ufctxt4" runat="server" BackColor="#EAF0E6" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d.]/g,''))"
                        onblur="alplpr()" onkeyup="value=value.replace(/[^\d.]/g,'')   " TabIndex="38"
                        Width="50px" CssClass="sepbillLabel"></asp:Label></td>
             </tr>
             <tr>
                 <td colspan="3">
                     <span style="font-size: 9pt">&nbsp; </span>
                                                        <asp:RadioButton ID="p1" runat="server" GroupName="p" Checked="True" Height="18px" />Doc
                     &nbsp;
      &nbsp; &nbsp; &nbsp; &nbsp;
                                            <asp:RadioButton ID="p2" runat="server" GroupName="p" Height="18px" />Parcel
      &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
      <asp:RadioButton ID="p3" runat="server" GroupName="p" Height="18px" />
      Other</td>
                 <td style="width: 100px">
                     合计/Total&nbsp;<asp:Label ID="hjtxt" runat="server" Width="36px" CssClass="sepbillLabel"></asp:Label></td>
             </tr>
             <tr>
                 <td style="vertical-align: top; height: 36px" colspan="2">
                     收件人签字/Signed by Consignee</td>
                 <td style="vertical-align: top; height: 36px" colspan="2">
                     签收日期/DateTime</td>
             </tr>
         </table>
     
     </div >
     <div id="sepbillright">
         <table border="0" cellpadding="0" cellspacing="1" style="width: 120px;background-color:#666666;">
             <tr>
                 <td style="width: 120px">
                     重量/Weight</td>
             </tr>
             <tr>
                 <td style="width: 120px">
                     <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;background-color:#666666;">
                         <tr>
                             <td style="width: 60px">
                             <asp:Label ID="wettxt"
      runat="server" Height="13px" Width="57%"  onblur="Weight()" CssClass="sepbillLabel"></asp:Label></td>
                             <td style="width: 60px; border-left: #666666 1px solid;">
                                 LBS</td>
                         </tr>
                     </table>
                 </td>
             </tr>
             <tr>
                 <td style="width: 120px">
                     <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;background-color:#666666;">
                         <tr>
                             <td style="width: 60px">
                             <asp:Label
      ID="Label1" runat="server" Height="13px" Width="56%" onblur="Weight()" CssClass="sepbillLabel"></asp:Label></td>
                             <td style="width: 60px; border-left: #666666 1px solid;">
                                 KG</td>
                         </tr>
                     </table>
                 </td>
             </tr>
             <tr>
                 <td style="width: 120px; height: 10px;">
                 </td>
             </tr>
             <tr>
                 <td style="width: 120px">
                     Measurement L×W×H</td>
             </tr>
             <tr>
                 <td style="width: 120px">
                                <asp:Label ID="tjl" runat="server" Width="17%" Height="12px"></asp:Label>×<asp:Label ID="tjw" runat="server" Height="12px" Width="18px"></asp:Label>×<asp:Label ID="tjh" runat="server" Height="12px" Width="18px"></asp:Label></td>
             </tr>
             <tr>
                 <td style="width: 120px">
                                            <asp:RadioButton ID="pm1" runat="server" GroupName="pm" Checked="True" Height="18px" />Cash</td>
             </tr>
             <tr>
                 <td style="width: 120px">
                                            <asp:RadioButton ID="pm2" runat="server" GroupName="pm" Height="18px" />Account</td>
             </tr>
             <tr>
                 <td style="width: 120px">
                                            <asp:RadioButton ID="pm3" runat="server" GroupName="pm" Height="18px" />Collect</td>
             </tr>
             <tr>
                 <td style="width: 120px">
                                            <asp:RadioButton ID="pm4" runat="server" GroupName="pm" Height="18px"  />3rd Party</td>
             </tr>
             <tr>
                 <td style="width: 120px">
                     运费Shipping fee</td>
             </tr>
             <tr>
                 <td style="width: 120px; height: 36px;">
                                <asp:Label ID="valuetxt" runat="server" Width="108px" Height="13px"></asp:Label></td>
             </tr>
         </table>
     </div>
     <div id="clear"></div>
     </div>
     
     <div id="sepbillfoot">
         <table border="0" cellpadding="0" cellspacing="1" style="width: 780px">
             <tr>
                 <td style="text-align: center; color: #ffffff; background-color: #bd07aa;">
                     Questions? Visit our Website at us2cn.net</td>
             </tr>
         </table>
         </div>
                        <br />
                    </td>
                </tr>
            </table>
                        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                            <tr>
                                <td style="background-image: url(../Images/btn_bg.gif); width: 88%; height: 24px">
                                    <a name="zt">分单状态列表</a> &nbsp; &nbsp;
                                    <asp:HyperLink ID="addnewsatte" runat="server">添加新状态</asp:HyperLink></td>
                            </tr>
                            <tr>
                                <td style="width: 88%;">
                                    <asp:GridView ID="seplist" runat="server" AutoGenerateColumns="False" BackColor="White"
                                        BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" CellSpacing="1"
                                        GridLines="None"   Width="800px">
                                        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
                                        <Columns>
                                            <asp:TemplateField HeaderText="货运状态">
                                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="200px" />
                                                <ItemTemplate>
                                                 
                                                    <%#Eval("StateDescription")%>&nbsp;&nbsp;<%# Convert.ToBoolean(Eval("ForUPEXOnly"))?"<span style='color:Red'>[仅供UPEX查看]</span>":"" %>
                  
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                                         <asp:TemplateField HeaderText="时间">
                                             
                                                <ItemTemplate>
                                                    <%#Convert.ToDateTime(Eval("Date")).ToString("f")%>
                                                </ItemTemplate>
                                                   <ItemStyle Width="150px"  HorizontalAlign="Center" />
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="备注">
                                                <ItemStyle HorizontalAlign="Left" Width="230px" />
                                                <ItemTemplate>
                                                    <%#Eval("Remark")%>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="记录人">
                                                <ItemStyle Width="70px" HorizontalAlign="Center" />
                                                <ItemTemplate>
                                                    <%#Eval("UserName") %>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="记录时间">
                                                <ItemStyle Width="100px"  HorizontalAlign="Center" />
                                                <ItemTemplate>
                                                    <%#Eval("RecordDate")%>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </Columns>
                                        <RowStyle CssClass="showlist1" />
                                        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
                                        <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
                                        <HeaderStyle BackColor="Navy" Font-Bold="True" ForeColor="White" />
                                        <AlternatingRowStyle CssClass="showlist2" />
                                    </asp:GridView>
                                    <br />
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 88%">
                                    <br />
                                </td>
                            </tr>
                        </table>
        </div>
    
    </div>
    </form>
</body>
</html>
